GetSHXTextBox
Unit: SHX.pas
Description
Returns bounding rectangle of the SHX Font text string basing on the text string defined in Text with predefined by the ASHXStyles
, Style
and Vertical
parameters.
Parameters | Description |
---|---|
ASHXStyles | The instance of the TsgSHXFontList object |
Style | Defines the converting style |
Text | The object of the sgRawByteString type |
WideText | The wide text string |
CodePage | The code page that specifies symbols in SHX. Ignored in Delphi versions older than 2009. |
Vertical | The additional converting option – SHX Font text is set to vertical orientation |
Poly | The list of the SHX Font text string |
Above | The above value of the SHX Font defined in Font |
Below | The below value of the SHX Font defined in Font |
RealLeft , RealBottom , RealRight , RealTop | The borders of the real surrounding rectangle |
Returns:
Value | Description |
---|---|
Above , Below | The above and below parameters of the SHX Font defined in Font |
Width , Height | The width and height parameters of the SHX Font defined in Font |
RealLeft , RealBottom , RealRight , RealTop | The real border rectangle of the converted SHX Font text string |